import os
from datetime import timedelta

class Config:
    # JWT配置
    JWT_SECRET_KEY = 'your-secret-key-change-in-production'
    JWT_ACCESS_TOKEN_EXPIRES = timedelta(hours=24)
    
    # CORS配置
    CORS_ORIGINS = ['http://localhost:5173', 'http://127.0.0.1:5173']
    
    # 服务器配置
    HOST = '0.0.0.0'
    PORT = 8080
    DEBUG = True